package com.jade.store.wechat.vo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.persistence.*;
import java.io.Serializable;
import java.util.Date;

/**
 * 用于获取第三方平台接口调用凭据
 * User: jinya
 * Date: 2016/12/13
 * Time: 14:40
 * TEL :17701640710   MAIL:2009_jinya@163.com
 * To change this template use File | Settings | File Templates.
 */
@Data
@ApiModel(value ="用于获取第三方平台接口调用凭据")
public class WXAuthPushVo {
    @ApiModelProperty(value = "编号")
    private long id;
    @ApiModelProperty(value = "appId")
    private String appId;
    // 时间戳
    @ApiModelProperty(value = "createTimeStr")
    private String createTimeStr;
    @ApiModelProperty(value = "infoType")
    // component_verify_ticket
    private String infoType;
    @ApiModelProperty(value = "AuthorizerAppid")
    // component_verify_ticket
    private String AuthorizerAppid;
    @ApiModelProperty(value = "AuthorizationCode")
    private String AuthorizationCode;
    @ApiModelProperty(value = "AuthorizationCodeExpiredTime")
    private String AuthorizationCodeExpiredTime;
    // Ticket内容
    @ApiModelProperty(value = "Ticket内容")
    private String componentVerifyTicket;
    /**
     *创建时间
     */
    @ApiModelProperty(value = "创建时间")
    private Date createTime = new Date();

    public long getId() {
        return id;
    }

    public void setId(long id) {
        this.id = id;
    }

    public String getAppId() {
        return appId;
    }

    public void setAppId(String appId) {
        this.appId = appId;
    }

    public String getCreateTimeStr() {
        return createTimeStr;
    }

    public void setCreateTimeStr(String createTimeStr) {
        this.createTimeStr = createTimeStr;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public String getInfoType() {
        return infoType;
    }

    public void setInfoType(String infoType) {
        this.infoType = infoType;
    }

    public String getComponentVerifyTicket() {
        return componentVerifyTicket;
    }

    public void setComponentVerifyTicket(String componentVerifyTicket) {
        this.componentVerifyTicket = componentVerifyTicket;
    }

    public String getAuthorizerAppid() {
        return AuthorizerAppid;
    }

    public void setAuthorizerAppid(String authorizerAppid) {
        AuthorizerAppid = authorizerAppid;
    }

    public String getAuthorizationCode() {
        return AuthorizationCode;
    }

    public void setAuthorizationCode(String authorizationCode) {
        AuthorizationCode = authorizationCode;
    }

    public String getAuthorizationCodeExpiredTime() {
        return AuthorizationCodeExpiredTime;
    }

    public void setAuthorizationCodeExpiredTime(String authorizationCodeExpiredTime) {
        AuthorizationCodeExpiredTime = authorizationCodeExpiredTime;
    }
}
